package codetype.annotation;

import javax.validation.constraints.NotBlank;
import java.lang.annotation.*;

/**
 * 单值代码注解
 *
 * @author zhanghui145
 * @date 2021/12/28 18:50
 * @since 1.0.0
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CodeType {

    @NotBlank
    String type();
}
